<%-- 
    Document   : ghostform
    Created on : 21.11.2012, 14:34:08
    Author     : Q.90, Jan Vyhnánek
--%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<fmt:bundle basename="StripesResources" /> 

<s:errors/>

<fmt:message key='admin.ghostName' var="name"/>
<fmt:message key='admin.ghostAbilityType' var="abilityType"/>
<fmt:message key='admin.ghostDescription' var="description"/>

<table style="width:fit-content">
    <tr>
        <th><s:label for="b1" name="${name}"/></th>
        <td><s:text id="b1" name="ghost.name"/></td>
    </tr>
    <tr>
        <th><s:label for="b5" name="${abilityType}"/></th>
        <td>
            <s:select id="b5" name="ghost.abilityType">
                <s:option value="AirElement" selected="selected"><fmt:message key='admin.abilityType.air'/></s:option>
                <s:option value="FireElement"><fmt:message key='admin.abilityType.fire'/></s:option>
                <s:option value="WaterElement"><fmt:message key='admin.abilityType.water'/></s:option>
                <s:option value="EarthElement"><fmt:message key='admin.abilityType.earth'/></s:option>
            </s:select>
        </td>
    </tr>
    <tr>
        <th><s:label for="b7" name="${description}"/></th>
        <td><s:text id="b7" name="ghost.description"/></td>
    </tr>
</table>